Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: don't return empty ElectronVersions on fetch failures #117

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

dsanders11
Copy link
Member

@dsanders11 dsanders11 commented Sep 5, 2024

It's unexpected to silently get an ElectronVersions object with no populated versions on fetch failures. This fix also properly handles the case where the server returns a non-200 response, which is currently processed as if it was a normal response.

@dsanders11 dsanders11 requested a review from a team as a code owner September 5, 2024 20:02
@BlackHole1 BlackHole1 merged commit c3c171b into main Sep 6, 2024
18 checks passed
@BlackHole1 BlackHole1 deleted the fix/no-empty-versions branch September 6, 2024 01:47
Copy link

🎉 This PR is included in version 1.3.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants